home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Environments / PowerFantasm™ 4.19a / Beginners guide / Beginners Mac Assembly - ed.srd / Beginners Mac Assembly - ed.srd.rsrc / PICT_28.png < prev    next >
Portable Network Graphic  |  1996-08-28  |  157KB  |  816x1056  |  8-bit (256 colors)
OCR: this case2imit9ours sets up the cusors re ordin atcMtonthehtep detitatangwindowgWhereg is init cursThe last line of the program "INCLUDE 10 LIB ,S" loads in a file called 10 lib.s. Init curs is part of this code After the initialisation, the instruction MOVE moves the decimal number 10 into op Notice again that between the 'MOVE and the #10 there S white space either a tab IO spaces After the operands #10. ,d0) there tab and then comment to remind us of what this instruction IS doing The next two lines twenty and thirty to do As printing is a fairly common operation for a program to perf form, we write a special program to per form the printing for us. then' whenever we want to print number we pass the number to the printing program more specifically called subroutine. We branch to the sub ...